cmake_minimum_required(VERSION 3.5.0)

project(fxcc_test_platform_)

set(CMAKE_CXX_STANDARD 17)

if(WIN32)
add_executable(fxcc_test_platform_win32_openwindow openwindow.cpp )
target_link_libraries(fxcc_test_platform_win32_openwindow PUBLIC fxcc_platform_win32)
target_compile_definitions(fxcc_test_platform_win32_openwindow PRIVATE FXCC_USE_PLATFORM_WIN32)
endif()

add_executable(fxcc_test_platform_glfw_openwindow openwindow.cpp )
target_link_libraries(fxcc_test_platform_glfw_openwindow PUBLIC fxcc_platform_glfw )
target_compile_definitions(fxcc_test_platform_glfw_openwindow PRIVATE FXCC_USE_PLATFORM_GLFW)

# add_executable(fxcc_test_platform_sdl2_openwindow openwindow.cpp )
# target_link_libraries(fxcc_test_platform_sdl2_openwindow PUBLIC fxcc_platform_sdl2 )
# target_compile_definitions(fxcc_test_platform_sdl2_openwindow PRIVATE FXCC_USE_PLATFORM_SDL2)


# add_executable(fxcc_test_platform_sdl3_openwindow openwindow.cpp )
# target_link_libraries(fxcc_test_platform_sdl3_openwindow PRIVATE fxcc_platform_sdl3 )
# target_compile_definitions(fxcc_test_platform_sdl3_openwindow PRIVATE FXCC_USE_PLATFORM_SDL3)
